#!/usr/bin/python
# Filename: while.py edit by feilinwu @2014.04.17

number = 23
running = True

while running:
	guess = int(raw_input('Enter an integer: '))

	if guess == number:
		print 'Congratulations, you guessed it.'
		running = False

	elif guess < number:
		print 'No, it is a little higher than that.'
	
	else:
		print 'No, it is a little lower than that.'

else:
	print '... The while loop is over.'

print 'Done'	
